@extends('layout.master')

@section('title')
    Welcome - GamesAlot 
@stop

@section('username')
   {{ Auth::user()->userName }} 
@stop

@section('header')
    @parent
@stop

@section('content')

     @if(Session::has('status'))
     	<div class='alert alert-success span5' style='float:right'>  {{ Session::get('status') }} </div>
     @endif
        
    <h3>
        <em>New</em> Games 
    </h3> 

    <ul class="album-list">
        @foreach($list as $item)
            <li><a href="/product/view/{{ $item->id }}">
                <div class="thumbnail span1">
                    <img alt="album.Title" src="/img/products/{{$item->image_url}}" />
                 </div>
                 <span> {{ $item->productName }} </span> </a>
            </li>
         @endforeach
    </ul>
@stop